﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SisGrafenoController
{
    public abstract class DAOFactory
    {
        public const int SQLSERVER = 1;

        public static DAOFactory getDAOFactory(int dbType)
        {
            DAOFactory factory = null;
            switch (dbType)
            {
                case SQLSERVER: factory = new SQLServerDAOFactory(); break;
            }
            return factory;
        }

        public abstract DAOProducto getDAOProducto();
        public abstract DAOPaquete getDAOPaquete();
        public abstract DAOLineaProducto getDAOLineaProducto();
        public abstract DAOCotizacion getDAOCotizacion();
        public abstract DAOCliente getDAOCliente();
        public abstract DAOEmpleado getDAOEmpleado();
        public abstract DAONotaCredito getDAONotaCredito();

    }
}
